<p>
  <h1><%=h @pdsession.title %></h1>
</p>

<p>
  <b>Category:</b> <%=h @pdsession.category %>
	<br />
  <b>Start:</b> <%=h @pdsession.start.strftime("%d/%m/%y - %I:%M %p") %>
	<br />
  <b>Duration:</b> <%=h @pdsession.duration %>hrs
</p>

<p>
  <b>Description:</b>
  <%=h @pdsession.description %>
</p>

<p>
	<table class="tabular">
		<tr>
			<th>Attendees</th>
		</tr>
			<% @attendees.each do |user| %>
				<tr class="<%= cycle("odd", "even") %>">
					<td><%= user.display_name %></td>
				</tr>
			<% end %>
	</table>
</p>


<% if current_user.role == 'PDAdmin' %>
	<%= link_to 'Edit', edit_pdsession_path(@pdsession) %> |
<% end %>
<%= link_to 'Back', pdsessions_path %>